﻿using System;
using System.Collections.Generic;

namespace Sustainalytics.Entities.ESGRatings
{
    public class ReferenceUniverse : IEntity
    {
        // list if CompanyId, CIQID, CompanyName
        public List<ReferenceUniverseCompany> Companies { get; set; }

        public Guid Id { get; set; }

        public string Name { get; set; }
    }

    public class ReferenceUniverseCompany
    {
        public ReferenceUniverseCompany()
        {
        }

        public ReferenceUniverseCompany(Guid companyId, int capitalIqId, string companyName)
        {
            this.CapitalIqId = capitalIqId;
            this.CompanyId = companyId;
            this.CompanyName = companyName;
        }

        public int CapitalIqId { get; set; }

        public Guid CompanyId { get; set; }

        public string CompanyName { get; set; }
    }
}